package com.woniu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.pojo.PrivateCourses;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.vo.AppCoursesQueryVo;
import com.woniu.vo.PrivateCourseQueryVo;
import com.woniu.vo.PrivateCoursesVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaohuang
 * @since 2022-10-12
 */
public interface PrivateCoursesMapper extends BaseMapper<PrivateCourses> {

    IPage<PrivateCoursesVo> findPage(IPage<PrivateCoursesVo> page,@Param("courseQueryVo") PrivateCourseQueryVo courseQueryVo);

    //手写获取count sql 的语句
    Integer repListCount(@Param("courseQueryVo") PrivateCourseQueryVo courseQueryVo);


}
